package com.tanhua.dubbo.api;

import com.tanhua.dubbo.mappers.ExamMapper;
import com.tanhua.dubbo.mappers.UserMapper;
import com.tanhua.model.domain.Exam;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
@DubboService
public class ExamApiImpl implements ExamApi {
    @Autowired
    private ExamMapper examMapper;

    @Override
    public List<Exam> findAll() {
        return examMapper.selectList(null);
    }

}
